package cn.janescott.inner.space.webapp.config;

import cn.janescott.inner.space.shiro.aop.AuthenAspect;
import cn.janescott.inner.space.webapp.aop.WebAccessLogAspect;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author scott
 * @date 2018/8/9
 */
@Configuration
public class AspectConfiguration {

    @Bean
    public AuthenAspect authenAspect() {
        return new AuthenAspect();
    }

    @Bean
    public WebAccessLogAspect logAspect() {
        return new WebAccessLogAspect();
    }

}
